   :root {
  /* Dark mode defaults */
  --bg-primary:   #111;    /* page background */
  --bg-secondary: #1a1a1a; /* section backgrounds */
  --bg-card:      #0f0f0f; /* cards, overlays */
  
  /* Text */
  --text-light:      #f4f4f4;
  
  /* Accent */
  --accent-gold:     #FFD700;
  --accent-gold-20:  rgba(255,215,0,0.3);
}

  

* {
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

 body {
	 cursor: default; /* Restore default cursor */
	 padding-top: 80px;
 }

#sonar {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
  animation: sonar-ping 1s infinite;
  pointer-events: none;
  display: none;
  z-index: 9999;
}

@keyframes sonar-ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
 
 
/* Fixed Header */
    header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background-color: var(--bg-secondary);
  z-index: 1000;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* Headings & paragraphs */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
}


#theme-toggle {
	background: none;
	border: 2px solid var(--text-light);
	color: var(--text-light);
	padding: 0.5rem 1rem;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.3s, color 0.3s;
}

#theme-toggle:hover {
	background: bar(--text-light);
	color: var(--bg-primary);
}

.navMenu a {
  color: var(--text-light);
  transition: color .3s;
}
.navMenu a:hover,
.navMenu a:focus {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}
.menu-toggle span {
  background: var(--text-light);
}

/* Container for Business Name and Nav */

.headContainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.businessName {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--text-light);
}

    /* Navigation Styling */
    nav {
  display: flex;
  align-items: center;
}

.navMenu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navMenu a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--text-light);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .3s, border-color .3s;
}

.navMenu a:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

    .navMenu li {
      display: inline-block;
    }

    .navMenu a {
      text-decoration: none;
      font-size: 1.2rem;
      color: #444;
      transition: color 0.3s ease;
    }

    .navMenu a:focus {
      font-weight: bold;
      border-bottom: 2px solid grey;
    }

    /* Mobile Menu Toggle Button */
    .menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: 0.3s;
}

    /* ============================
   MOBILE NAVIGATION (≤ 900px)
   ============================ */

@media (max-width: 900px) {

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Turn navMenu into a dropdown */
  .navMenu {
    display: none; /* hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: var(--bg-secondary);
    padding: 1.5rem 0;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
  }

  /* When JS toggles .active */
  .navMenu.active {
    display: flex;
  }

  .navMenu a {
    font-size: 1.25rem;
    color: var(--text-light);
  }

  /* Header layout on tablet/mobile */
  .headContainer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================
   SMALL MOBILE (≤ 600px)
   ============================ */

@media (max-width: 600px) {

  .headContainer {
    flex-direction: column;
    align-items: center;
  }

  .businessName {
    margin-bottom: 10px;
  }

  /* No need to redefine navMenu here — keep the 900px rules */
}

    /* Add top margin to content to prevent overlap */
    main {
      margin-top: 80px;
      padding: 20px;
    }

.pageHeader {
	text-align: center;
	padding: 2rem 1rem;
	margin: 10px 20px;
}

.pageHeader h2 {
	color: #FFD700; /* Bold yellow header */
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

.pageHeader p {
  color: #ccc;
  font-style: italic;
}

/* To prevent content from being hidden behind the fixed nav */
/* Apply black page background + light text */

body {
    padding-top: 20px; /* Adjust based on the navbar height */
	background-color: var(--bg-primary);
	color: var(--text-light);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.hero {
  position: relative;
  background: url('../Images/constructionSite.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.heroText {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.heroText h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.heroText p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.ctaBtn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
}

.ctaY {
  background-color: #ffcc00;
  color: #111;
  border: 2px solid black;
  transition: background-color 0.3s ease;
}

.ctaY:hover {
  background-color: #e6b800;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }

  .heroText {
    margin: 0 auto;
  }

  .heroText h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .heroText p {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 1.25rem;
    min-height: 70vh;
    background-position: center top;
  }

  .heroText h1 {
    font-size: 1.8rem;
  }

  .heroText p {
    font-size: 1rem;
  }

  .ctaBtn {
    font-size: 1rem;
    padding: 12px 20px;
  }
}

/*Moving into Services */


/* Service Section Container */
.serveSec {
	display: grid;
	grid-template-rows: auto 1fr;
	grid-template-columns: 1fr;
	gap: 20px;
	background-color: var(--bg-secondary);
	padding: 40px;
	margin: 20px 10px;
	text-align: center;
	border-radius: 10px;
}

.serveSecT {
	font-size: 2rem;
	font-weight: bold;
	color: var(--accent-gold);
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Services Preview Container */

.services-preview {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.service-card {
  flex: 1 1 30%;
  max-width: 380px;
  background-color: var(--bg-card);
  border-radius: 10px;
  color: var(--text-light);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* service-card animations */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--accent-gold-20);
}


/*service-card anchor elements */

.service-card a {
	display: block;
	transition: transform 0.3s ease-in-out;
}

.service-card a:hover {
	color: white;
	transition: 0.3 ease-in-out;
}

/* service-card Video Elements */
.service-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    opacity: 0.8;
    filter: brightness(0.7);
    transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* Video Brightens on Hover */
.service-card:hover .service-video {
    filter: brightness(1);
    opacity: 1;
}


/* Service Content formatting/stylings */
.service-content {
    padding: 20px;
    text-align: center;
}

/* Yellow Accents for anchors */
.service-content a{
    font-size: 1.4rem;
    color: var(--accent-gold);
}

/* Text Adjustments */
.service-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.learnM {
	position: relative;
	display: inline-block;
	padding: 10px 20px;
	font-weight: bold;
	overflow: hidden;
	transition: background 0.3s ease;
}

@media (max-width: 1024px) {
  .services-preview {
    justify-content: center;
    gap: 1.5rem;
  }

  .service-card {
    flex: 1 1 45%;
    max-width: 420px;
  }
}

@media (max-width: 768px) {

  /* Remove grid constraints so flexbox can take over */
  .serveSec {
    display: block;
    padding: 1.5rem 1rem;
  }

  /* Force single-column layout */
  .services-preview {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  /* Cards become full-width but stay elegant */
  .service-card {
    width: 100%;
    max-width: 360px;
    flex: none; /* Prevents flex from trying to stretch it */
  }

  /* Mobile-friendly video height */
  .service-video {
    height: 200px;
  }

  /* Typography adjustments */
  .service-content p {
    font-size: 1rem;
  }

  .service-content a {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .serveSec {
    padding: 1.5rem 0.75rem;
  }

  .serveSecT {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .service-card {
    max-width: 320px;
  }

  .service-video {
    height: 180px;
  }
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px var(--accent-gold-20);
  }
}

/*About Us and Why Choose Us follows */

.abtus {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1rem;
  text-align: center;
}

.abtContent {
  flex: 1;
  max-width: 500px;
  padding: 2rem;
  border-radius: 10px;
}

.abtus h2 {
	font-size: 1.5rem; /* Bold without overpowering */
    font-weight: 700;  /* Strong emphasis */
    text-transform: uppercase; /* Adds authority */
    letter-spacing: 1px; /* Subtle refinement */
}

.abtus p {
    font-size: 1rem; /* Clean, readable */
    font-weight: 500; /* Slightly stronger presence */
    line-height: 2; /* Improves readability */
}


@media (max-width: 1024px) {
  .abtus {
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .abtContent {
    max-width: 600px;
  }

  .abtus h2 {
    font-size: 1.6rem;
  }

  .abtus p {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .abtus {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .abtContent {
    padding: 1.5rem;
  }

  .abtus h2 {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }

  .abtus p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

.inset-side {     
    background: linear-gradient(to bottom, #2A2A2A, #3A3A3A); /* Enhanced charcoal gradient */
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.6); /* Deeper inner shadow */
    color: #FAFAFA; /* Lightened text for contrast */
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;

}

.outset-side {   
    background: linear-gradient(to right, #DAA520, #F5C542); /* Brighter gold gradient */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4); /* Slightly deeper raised effect */
    color: #111111; /* Strong contrast */
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.outset-side h2, .outset-side p {
    text-shadow: 0px 0px 6px rgba(245, 197, 66, 0.5); /* Subtle glow on gold text */
}

.inset-side:hover, .outset-side:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6); /* Enhanced hover glow */
    transform: scale(1.03); /* Slight zoom-in */

}

@media (hover: none) {
  .inset-side:hover,
  .outset-side:hover {
    transform: none;
    box-shadow: none;
  }
}

/*Testimonials and Projects Follow */

.carousel-container {
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 3rem auto;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
  opacity: 1;
}

.testimonial img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.testimonial span {
  font-size: 1rem;
  opacity: 0.8;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.6);
  color: white;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1.5rem;
  transition: background 0.3s;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Apply fade effect */
.testimonial {
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Smooth fade */
}

/* Active slide appears */
.testimonial:first-child {
    opacity: 1; /* Ensure first slide is visible */
}

@media (max-width: 768px) {
  .testimonial {
    padding: 1.5rem;
  }

  .testimonial img {
    max-height: 240px;
  }

  .testimonial p {
    font-size: 1.1rem;
  }

  .prev, .next {
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    width: 100%;
    margin: 2rem auto;
  }

  .testimonial {
    padding: 1rem;
  }

  .testimonial img {
    max-height: 200px;
  }

  .testimonial p {
    font-size: 1rem;
  }

  .prev, .next {
    top: auto;
    bottom: 10px;
    transform: none;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
  }

  .prev { left: 20%; }
  .next { right: 20%; }
}


footer {
	background-color: #000; /* Dark theme */
	color: var(--text-light);
}

.footerContainer {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
	grid-template-areas: 
	  "company links contact"
	  "copyright copyright copyright";
	max-width: 1600px;
	margin: auto;
	gap: 20px;
	text-align: center;
}

.footerColumn h3 {
	margin-bottom: 10px;
	color: var(--accent-gold);
}

.footerColumn ul {
	list-style: none;
	padding: 0;
}

.footerColumn ul li {
	margin: 5px 0;
}

.footerColumn ul li a {
	color: #fff;
	text-decoration: none;
}

.company {
    grid-area: company;
}

.links {
    grid-area: links;
}

.contact {
    grid-area: contact;
}

.copyright {
  grid-area: copyright;
  background-color: #222;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footerColumn a:hover {
	text-decoration: underline;
}

footer {
  background-color: #000;
  color: var(--text-light);
  padding: 3rem 1rem;
}

.footerContainer {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "company links contact"
    "copyright copyright copyright";
  gap: 2rem;
  text-align: center;
}

.footerColumn h3 {
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.footerColumn ul {
  list-style: none;
  padding: 0;
}

.footerColumn ul li {
  margin: 0.4rem 0;
}

.footerColumn ul li a {
  color: #fff;
  text-decoration: none;
  transition: color .3s;
}

.footerColumn ul li a:hover {
  color: var(--accent-gold);
}

@media (max-width: 600px) {
  .footerContainer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "company"
      "links"
      "contact"
      "copyright";
    gap: 1.5rem;
  }

  .footerColumn {
    text-align: center;
  }

  .footerColumn h3 {
    font-size: 1.25rem;
  }

  .footerColumn p,
  .footerColumn a {
    font-size: 1rem;
  }
}

